<template>
  <a-card :bordered="false">
    <a-tabs type="card">
      <a-tab-pane key="3-1" v-if="$store.getters.project == null" :tab="$t('all.autotext621')">
        <Pms :type="0"></Pms>
      </a-tab-pane>
      <a-tab-pane key="3-2" v-if="$store.getters.project != null" :tab="$t('all.autotext136')">
        <Pms :type="$const.SYSTEM_TYPE.PAYMENT.value"></Pms>
      </a-tab-pane>
      <a-tab-pane key="3-3" v-if="$store.getters.project != null" :tab="$t('all.autotext664')">
        <Pms :type="$const.SYSTEM_TYPE.MP.value"></Pms>
      </a-tab-pane>
      <!-- <a-tab-pane key="3-4" v-if="$store.getters.project != null" tab="项目权限-Pad">
        <Pms :type="$const.SYSTEM_TYPE.PAD.value"></Pms>
      </a-tab-pane> -->
    </a-tabs>
  </a-card>
</template>

<script>
import Pms from './pms'
export default {
  name: 'System',
  components: {
    Pms
  }
}
</script>
